package cn.sciento.transfer.app.service;

import cn.sciento.core.domain.Page;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;
import cn.sciento.transfer.api.dto.ProducerConfigDTO;
import cn.sciento.transfer.domain.entity.ConsDbConfig;
import cn.sciento.transfer.domain.entity.ProducerConfig;

public interface ProducerConfigService {
  ProducerConfig createProducerConfig(ProducerConfig paramProducerConfig);
  
  ProducerConfig updateProducerConfig(ProducerConfig paramProducerConfig);
  
  Page<ProducerConfig> listProducerConfig(PageRequest paramPageRequest, ProducerConfigDTO paramProducerConfigDTO);
  
  ConsDbConfig initHistoryData(ConsDbConfig paramConsDbConfig);
  
  void initConfigsToRedis();
  
  void reCreateTopic(Long paramLong);
  
  ProducerConfig refreshDDL(ProducerConfig paramProducerConfig);
  
  Integer removeProducerConfig(ProducerConfig paramProducerConfig);
}
